Skip to content

fix(GarantiPosService): check response status along with mdstatus for…#19

Open
ramazanayyildiz wants to merge 1 commit intodevfrom
bugfix/garanti-response
Open

fix(GarantiPosService): check response status along with mdstatus for…#19
ramazanayyildiz wants to merge 1 commit intodevfrom
bugfix/garanti-response

Conversation

@ramazanayyildiz
Copy link
Copy Markdown
Collaborator

… approval

Update payment status logic to verify both mdstatus and response fields to determine success. This prevents false positives when mdstatus is 1 but response is not "APPROVED".

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Types of changes

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to our CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Description

Related Issue

… approval

Update payment status logic to verify both mdstatus and response fields to determine success. This prevents false positives when mdstatus is 1 but response is not "APPROVED".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant